home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pMIAW
- global gIsRolloverTextOn
-
- on new me, buttonName, castName, theChannel, theStageLoc, theBalloonChannel, theBalloonLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("button with balloon"), buttonName, castName, theChannel, theStageLoc, theBalloonChannel, theBalloonLoc, descendant)
- else
- ancestor = new(script("button with balloon"), buttonName, castName, theChannel, theStageLoc, theBalloonChannel, theBalloonLoc, me)
- end if
- return me
- end
-
- on setMIAW me, miaw
- pMIAW = miaw
- return me
- end
-
- on performFunction me
- closeMe(pMIAW)
- return me
- end
-
- on performRolloverFunction me
- if gIsRolloverTextOn then
- performRolloverFunction(ancestor)
- end if
- return me
- end
-
- on performRolloffFunction me
- if gIsRolloverTextOn then
- performRolloffFunction(ancestor)
- end if
- return me
- end
-